/**
 * Created by IntelliJ IDEA.
 * User: ljy
 * Date: 2021/6/18
 * Time: 15:03
 */
package com.cowcode.entity;

import java.sql.Timestamp;
import java.util.Date;

public class User {
    private int uid;
    private String uacc;//账号
    private String upwd;//密码
    private String uname;//用户名
    private int uvip;//vip等级
    private String uemail;//邮箱
    private String uphone;//电话
    private Date ubirth;//出生日期
    private Timestamp uregiste;//注册时间

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uacc='" + uacc + '\'' +
                ", upwd='" + upwd + '\'' +
                ", uname='" + uname + '\'' +
                ", uvip=" + uvip +
                ", uemail='" + uemail + '\'' +
                ", uphone='" + uphone + '\'' +
                ", ubirth=" + ubirth +
                ", uregiste=" + uregiste +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUacc() {
        return uacc;
    }

    public void setUacc(String uacc) {
        this.uacc = uacc;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public int getUvip() {
        return uvip;
    }

    public void setUvip(int uvip) {
        this.uvip = uvip;
    }

    public String getUemail() {
        return uemail;
    }

    public void setUemail(String uemail) {
        this.uemail = uemail;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public Date getUbirth() {
        return ubirth;
    }

    public void setUbirth(Date ubirth) {
        this.ubirth = ubirth;
    }

    public Timestamp getUregiste() {
        return uregiste;
    }

    public void setUregiste(Timestamp uregiste) {
        this.uregiste = uregiste;
    }

    public User(int uid, String uacc, String upwd, String uname, int uvip, String uemail, String uphone, Date ubirth, Timestamp uregiste) {
        this.uid = uid;
        this.uacc = uacc;
        this.upwd = upwd;
        this.uname = uname;
        this.uvip = uvip;
        this.uemail = uemail;
        this.uphone = uphone;
        this.ubirth = ubirth;
        this.uregiste = uregiste;
    }


}
